home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
_bbs
/
wc30
/
ins.bat
< prev
next >
Wrap
DOS Batch File
|
1993-06-17
|
1KB
|
32 lines
@echo Which cdrom drive letter?
set cdrom=m:
@echo What is your data directory name?
@echo (The default is 'data', which I use.)
set datadir=data
@echo If these aren't right, ^c and edit this file.
pause
rem ---------------- below shouldn't need edited -----------------
@echo Making backup files.
copy %datadir%\allfiles.dat %datadir%\allfiles.da2
copy %datadir%\allfiles.ix %datadir%\allfiles.ix2
copy filearea.dat filearea.da2
copy makewild.dat makewild.da2
%cdrom%\_bbs\wc30\install %1
if not errorlevel 1 goto ok
@echo Error exit -- restoring original datafiles
copy filearea.dat filearea.err
copy filearea.da2 filearea.dat
copy makewild.dat makewild.err
copy makewild.da2 makewild.dat
goto end
:ok
@echo Check the file areas with makewild. (Just to see what happened.)
pause
makewild
@echo The install program created a batch file called 'install2'.
@echo You can change wcfiles options by editing this file.
@echo Then execute the batch file by typeing 'install2'.
@echo When you are done, you can check wcfile.log to see exactly what wcfile
@echo thinks happened.
:end